package com.zenithsun.common.bean;

/**
 * 输出内容，用于存放输出的内容<br/>
 * 在获取输出内容时，请先判定state的值，然后在取值，具体状态请参照({@link OutMessageState})<br/>
 * 该类为统一输出类，好处是可以通过state值来加入业务状态<br/>
 * @author wanglei@enersun.com.cn
 * @date 2016-06-06
 */
public class OutMessage {

	/**
	 * 状态
	 */
	private OutMessageState state;
	
	/**
	 * 异常内容
	 */
	private Object content;
	

	public OutMessageState getState() {
		return state;
	}

	public void setState(OutMessageState state) {
		this.state = state;
	}

	public Object getContent() {
		return content;
	}

	public void setContent(Object content) {
		this.content = content;
	}
}